#ifndef __LISTTREE_H_
#define __LISTTREE_H_

#include "DoubleLinkList.h"
class TreeNode
{
public:
    using ElementType = int;
    TreeNode(const ElementType& element);
    void connect(const TreeNode& node);
private:
    ElementType data;
    TreeNode *parent;
    TreeNode *firstChild;
    TreeNode *nextBro;
};


class ListTree
{
public:
    ListTree();
    ~ListTree();
private:
    TreeNode *root;

};


#endif